package com.hachismart.service;

import com.hachismart.bean.IpListInfo;
import com.hachismart.mybatis.dao.IpListInfoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 程振奇
 * @date 2018/5/25
 */
@Service
public class IpListInfoService {
    @Autowired
    private IpListInfoDao ipListInfoDao;


    public List<IpListInfo> listInfoList(IpListInfo ipListInfo) throws Exception {

        return ipListInfoDao.queryList(ipListInfo);
    }

    public IpListInfo getInfoList(IpListInfo ipListInfo) throws Exception {

        return ipListInfoDao.query(ipListInfo);
    }


}
